package puyu.manage.service.print.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import puyu.manage.service.print.dao.SysPrintnumberMapper;
import puyu.manage.service.print.service.SysPrintnumberService;

import java.util.Map;


@Service
public class SysPrintnumberServiceImpl implements SysPrintnumberService {

    @Autowired(required = false)
    private SysPrintnumberMapper sysPrintnumberMapper;


    @Override
    public Long selectCountById(String expId) {
        Long num = sysPrintnumberMapper.selectCountById(expId);
        return num;
    }



    @Override

    public int insertSysPrintnumber(Map params) throws Exception {

        sysPrintnumberMapper.insertSysPrintnumber(params);
        return 1;
    }


}
